{# default Sliding pagination control implementation #}
{% if pageCount > 1 %}
    <div class="gdlr-core-pagination  gdlr-core-style-circle gdlr-core-right-align gdlr-core-item-pdlr">
        {% if previous is defined %}
            <a class="page-numbers" href="{{ path(route, query|merge({(pageParameterName): previous})) }}">‹</a>
        {% endif %}

        {% for page in pagesInRange %}
            {% if page != current %}
                <a class=page-numbers href="{{ path(route, query|merge({(pageParameterName): page})) }}">{{ page }}</a>
            {% else %}
                <span aria-current=page class='page-numbers current'>{{ page }}</span>
            {% endif %}
        {% endfor %}

        {% if next is defined %}
            <a class=page-numbers href="{{ path(route, query|merge({(pageParameterName): next})) }}">›</a>
        {% endif %}
    </div>
{% endif %}